package com.wxj.bank.api.service.impl;

import com.wxj.bank.api.service.IOrderBusinessService;
import com.wxj.bank.storage.model.Order;
import com.wxj.bank.storage.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author shengtao
 * @Description:
 * @date 2019/02/20 17:19
 */
@Service
public class OrderBusinessServiceImpl implements IOrderBusinessService {

    @Autowired
    private IOrderService orderService;


    @Override
    public Order add(Order order) {
        return orderService.save(order);
    }
}
